import _axios from "../axios";
import qs from "qs";


export const login = (data)=>{
    return _axios({
        url:'/user/login',
        method:'get',
        params:data
    })
}
export const getCode = (data)=>{
    return _axios({
        url:'/phonecode/getcode',
        method:'get',
        params:data
    })
}
export const get_info = (data)=>{
    return _axios({
        url:'/user/get_info',
        method:'get',
        params:data
    })
}
export const by_limitrange = (data)=>{
    return _axios({
        url:'/product/by_limitrange',
        method:'get',
        params:data
    })
}
export const by_sx = (data)=>{
    return _axios({
        url:'/product/by_sx',
        method:'get',
        params:data
    })
}

export const rz = (data)=>{
    return _axios({
        url:'/user/rz',
        method:'post',
        data:qs.stringify(data)
    })
}
export const bank = (data)=>{
    return _axios({
        url:'/user/bank',
        method:'post',
        data:qs.stringify(data)
    })
}
